import 'dart:convert' show json;
class ClueDetailBean {

  String LastFollowContent;
  int AuditedState;
  int CaseType;
  int ClueFromType;
  int ClueId;
  int Deleted;
  int FollowupState;
  int IsDrivering;
  int IsMany;
  int ReciveCaragentid;
  int Source;
  int TimeoutNoticeCount;
  double AcceptTimeDifference;
  double MaintainAmount;
  double TimeDifference;
  String AcceptedTime;
  String AccidentRemark;
  String CarOwner;
  String CarVIN;
  String ChosedModelName;
  String ClueTime;
  String DangerArea;
  String DangerDec;
  String InsureInfo;
  String LastFollowAgent;
  String LastFollowTime;
  String LicenseNo;
  String Mobile;
  String MoldName;
  String OrderNum;
  String ReceiveCarAddress;
  String Remark;
  String ReportCaseNum;
  String ReportCasePeople;
  String SmsContent;
  String SmsRecivedTime;
  String SourceName;
  String UpdateTime;
  List<String> CluesImage;

  ClueDetailBean.fromParams({this.LastFollowContent, this.AuditedState, this.CaseType, this.ClueFromType, this.ClueId, this.Deleted, this.FollowupState, this.IsDrivering, this.IsMany, this.ReciveCaragentid, this.Source, this.TimeoutNoticeCount, this.AcceptTimeDifference, this.MaintainAmount, this.TimeDifference, this.AcceptedTime, this.AccidentRemark, this.CarOwner, this.CarVIN, this.ChosedModelName, this.ClueTime, this.DangerArea, this.DangerDec, this.InsureInfo, this.LastFollowAgent, this.LastFollowTime, this.LicenseNo, this.Mobile, this.MoldName, this.OrderNum, this.ReceiveCarAddress, this.Remark, this.ReportCaseNum, this.ReportCasePeople, this.SmsContent, this.SmsRecivedTime, this.SourceName, this.UpdateTime, this.CluesImage});

  ClueDetailBean.fromJson(jsonRes) {
    LastFollowContent = jsonRes['LastFollowContent'];
    AuditedState = jsonRes['AuditedState'];
    CaseType = jsonRes['CaseType'];
    ClueFromType = jsonRes['ClueFromType'];
    ClueId = jsonRes['ClueId'];
    Deleted = jsonRes['Deleted'];
    FollowupState = jsonRes['FollowupState'];
    IsDrivering = jsonRes['IsDrivering'];
    IsMany = jsonRes['IsMany'];
    ReciveCaragentid = jsonRes['ReciveCaragentid'];
    Source = jsonRes['Source'];
    TimeoutNoticeCount = jsonRes['TimeoutNoticeCount'];
    AcceptTimeDifference = jsonRes['AcceptTimeDifference'];
    MaintainAmount = jsonRes['MaintainAmount'];
    TimeDifference = jsonRes['TimeDifference'];
    AcceptedTime = jsonRes['AcceptedTime'];
    AccidentRemark = jsonRes['AccidentRemark'];
    CarOwner = jsonRes['CarOwner'];
    CarVIN = jsonRes['CarVIN'];
    ChosedModelName = jsonRes['ChosedModelName'];
    ClueTime = jsonRes['ClueTime'];
    DangerArea = jsonRes['DangerArea'];
    DangerDec = jsonRes['DangerDec'];
    InsureInfo = jsonRes['InsureInfo'];
    LastFollowAgent = jsonRes['LastFollowAgent'];
    LastFollowTime = jsonRes['LastFollowTime'];
    LicenseNo = jsonRes['LicenseNo'];
    Mobile = jsonRes['Mobile'];
    MoldName = jsonRes['MoldName'];
    OrderNum = jsonRes['OrderNum'];
    ReceiveCarAddress = jsonRes['ReceiveCarAddress'];
    Remark = jsonRes['Remark'];
    ReportCaseNum = jsonRes['ReportCaseNum'];
    ReportCasePeople = jsonRes['ReportCasePeople'];
    SmsContent = jsonRes['SmsContent'];
    SmsRecivedTime = jsonRes['SmsRecivedTime'];
    SourceName = jsonRes['SourceName'];
    UpdateTime = jsonRes['UpdateTime'];
    CluesImage = jsonRes['CluesImage'] == null ? null : [];

    for (var CluesImageItem in CluesImage == null ? [] : jsonRes['CluesImage']){
      CluesImage.add(CluesImageItem);
    }
  }

  @override
  String toString() {
    return '{"LastFollowContent": ${LastFollowContent != null?'${json.encode(LastFollowContent)}':'null'},"AuditedState": $AuditedState,"CaseType": $CaseType,"ClueFromType": $ClueFromType,"ClueId": $ClueId,"Deleted": $Deleted,"FollowupState": $FollowupState,"IsDrivering": $IsDrivering,"IsMany": $IsMany,"ReciveCaragentid": $ReciveCaragentid,"Source": $Source,"TimeoutNoticeCount": $TimeoutNoticeCount,"AcceptTimeDifference": $AcceptTimeDifference,"MaintainAmount": $MaintainAmount,"TimeDifference": $TimeDifference,"AcceptedTime": ${AcceptedTime != null?'${json.encode(AcceptedTime)}':'null'},"AccidentRemark": ${AccidentRemark != null?'${json.encode(AccidentRemark)}':'null'},"CarOwner": ${CarOwner != null?'${json.encode(CarOwner)}':'null'},"CarVIN": ${CarVIN != null?'${json.encode(CarVIN)}':'null'},"ChosedModelName": ${ChosedModelName != null?'${json.encode(ChosedModelName)}':'null'},"ClueTime": ${ClueTime != null?'${json.encode(ClueTime)}':'null'},"DangerArea": ${DangerArea != null?'${json.encode(DangerArea)}':'null'},"DangerDec": ${DangerDec != null?'${json.encode(DangerDec)}':'null'},"InsureInfo": ${InsureInfo != null?'${json.encode(InsureInfo)}':'null'},"LastFollowAgent": ${LastFollowAgent != null?'${json.encode(LastFollowAgent)}':'null'},"LastFollowTime": ${LastFollowTime != null?'${json.encode(LastFollowTime)}':'null'},"LicenseNo": ${LicenseNo != null?'${json.encode(LicenseNo)}':'null'},"Mobile": ${Mobile != null?'${json.encode(Mobile)}':'null'},"MoldName": ${MoldName != null?'${json.encode(MoldName)}':'null'},"OrderNum": ${OrderNum != null?'${json.encode(OrderNum)}':'null'},"ReceiveCarAddress": ${ReceiveCarAddress != null?'${json.encode(ReceiveCarAddress)}':'null'},"Remark": ${Remark != null?'${json.encode(Remark)}':'null'},"ReportCaseNum": ${ReportCaseNum != null?'${json.encode(ReportCaseNum)}':'null'},"ReportCasePeople": ${ReportCasePeople != null?'${json.encode(ReportCasePeople)}':'null'},"SmsContent": ${SmsContent != null?'${json.encode(SmsContent)}':'null'},"SmsRecivedTime": ${SmsRecivedTime != null?'${json.encode(SmsRecivedTime)}':'null'},"SourceName": ${SourceName != null?'${json.encode(SourceName)}':'null'},"UpdateTime": ${UpdateTime != null?'${json.encode(UpdateTime)}':'null'},"CluesImage": $CluesImage}';
  }
}

